<include file="Public:header"/>
<div class="banner" id="touchMain" style="margin-top: -1px;">
	<div class="slide-box" id="slideContent">
		<volist name="banner" id="rs">
		<div class="slide" id="bgstylec" style="background:url({:img($rs['images_url'])}) no-repeat 50% 0;">
			<notempty name="rs.open_url"><a stat="sslink-{$i}" href="{$rs['open_url']}">&nbsp;</a></notempty>
		</div>
		</volist>
	</div>
	<div class="item">
		<volist name="banner" id="rs">
			<a class="nojump {$i == 1 ? 'cur' : ''}" stat="item100{$i}" href="javascript:;"></a>
		</volist>
	</div>
	<div class="search-box">
		<div class="info">
			<p>米律，创业法律护航者</p>
		</div>
		<form class="search-form" action="{:U('FreeAgreement/search')}" method="get" target="_blank">
			<input class="keyword" name="keyword" type="text" style="width: 470px;" placeholder="请输入合同名称，例如：合伙协议">
			<button class="if if-search btn-search" type="submit">创建</button>
			<!-- <span class="if if-search">创建</span> -->
		</form>
	</div>
</div>
<style type="text/css">
.banner .item{display: none;}
</style>
<script type="text/javascript">
$(document).ready(function () {
	// $('.search-box form span').click(function(e) {
	// 	$(this).hide();
	// 	$(".search-box .keyword").animate({width: '470px'}, 'fast');
	// 	$(".btn-search").fadeIn('fast');
	// });
	$('.search-form').submit(function () {
		var kw = $('.search-form .keyword').val();
		if(!kw){
			msgbox('请输入要生成的合同！');
			return false
		}
	})
})
</script>

<div class="index_list">
	<div class="block">
		<div class="wrap">
			<h2>创业，你需要的合同</h2>
			<a class="link_more" href="{:U('FreeAgreement/index')}">更多</a>
			<div class="clearfix contract_choose">
				<volist name="entrepreneurial_list" id="rs">
				<a href="{$rs['open_url']}">
					<div class="block">
						<div class="thumb_img">
							<img src="{:img($rs['images_url'], 100, 100)}" alt="" />
							<h4>{$rs['title']}</h4>
							<p>{$rs['description']}</p>
						</div>
					</div>
				</a>
				</volist>
			</div>
		</div>
	</div>
	<div class="block">
		<div class="wrap">
			<div class="banner_custom">
				<a href="{:U('CustomAgreement/index')}">
					<img src="../Public/img/index_ad_img.png" alt="" />
				</a>
			</div>
		</div>
	</div>
	
	<div class="block">
		<div class="wrap">
			<h2>专项创业法律服务</h2>
			<div class="clearfix contract_choose service_choose">
				<volist name="special_agreement_list" id="rs">
					<a href="{:U('CustomAgreement/detail', array('agreement_id' => $rs['agreement_id']))}">
						<div class="block">
							<div class="thumb_img">
								<img src="{:img($rs['icon_url'], 100, 100)}" alt="" />
								<h4>{$rs['title']}</h4>
								<p>{:str_cut($rs['description'], 80)}</p>
								<!-- <strong class="price">{$rs['service_price']}元</strong> -->
							</div>					
						</div>
					</a>
				</volist>
			</div>
		</div>
	</div>

	<div class="block">
		<div class="wrap">
			<h2>今日推荐</h2>			
			<ul class="nav nav-tabs" id="myTab" style="border:1px solid #eee;"> 
				<php>$category_list = D('Category')->get_list('knowledge', 4);</php>
				<volist name="category_list" id="rs">
					<li class="{$i == 1 ? 'hover' : ''}">{$rs['title']}</li> 
				</volist>
			</ul>		       
			<div class="tab-content"> 
				<volist name="category_list" id="rs">
						<ul class="tab-pane">
							<div class="wrap">
								<div class="free_list">
										<div style="padding:20px 0;">
											<php>$list = D('Article')->get_list(array('category_id' => $rs['id'], 'is_recommend' => 1), '', 1, 5);</php>
											<volist name="list" id="row">
												<div class="block"style="">
													<div class="writing">
														<a href="{:URL('knowledge/detail', array('article_id' => $row['article_id']), 'knowledge/detail_' . $row['article_id'])}" target="_blank" style="display: block">{$row['title']}</a>
													</div>
													<div class="name">
														{$row['author']}  
													</div>
													<div class="operate">
														[{$row['datetime_desc']}]   
													</div>
												</div>
											</volist>
											<a class="move" href="{:URL('Knowledge/index', '', 'knowledge')}">更多 >></a>
										</div>
								</div>
							</div>
						</ul>
				</volist>
			</div> 
		</div>
	</div>

	<div class="block">
		<div class="wrap">
			<h2>选择米律的理由</h2>
			<ul class="clearfix superiority_list milv_list">
				<li class="li1">
					<em>&nbsp;</em>
					<h6>数据分析</h6>
					<p>每个服务条款<br/>都经过法律数据分析</p>
				</li>
				<li class="li2">
					<em>&nbsp;</em>
					<h6>垂直平台</h6>
					<p>垂直创业法务<br/>米律标准、平台协同</p>
				</li>
				<li class="li3">
					<em>&nbsp;</em>
					<h6>信息透明</h6>
					<p>利用互联技术<br/>法律服务信息透明化</p>
				</li>
				<li class="li4">
					<em>&nbsp;</em>
					<h6>后续增值</h6>
					<p>交付服务成果<br/>米律服务才刚刚开始</p>
				</li>
			</ul>
		</div>
	</div>

	<div class="block block_grey" style="background: #f7f7f7">
		<div class="wrap">
			<h2>我们的用户特征</h2>
			<ul class="clearfix superiority_list">
				<li class="li1">
					<em>&nbsp;</em>
					<h6>100%</h6>
					<p>他们都是创业创新成长型企业</p>
				</li>
				<li class="li2">
					<em>&nbsp;</em>
					<h6>70%</h6>
					<p>他们获得资本市场的高度认可</p>
				</li>
				<li class="li3">
					<em>&nbsp;</em>
					<h6>50%</h6>
					<p>他们中的一半具长足成长空间</p>
				</li>
				<li class="li4">
					<em>&nbsp;</em>
					<h6>100%</h6>
					<p>他们都认同高价值的法律服务</p>
				</li>
			</ul>
		</div>
	</div>

</div>
<include file="Public:footer"/>